<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
    content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>菜单界面</title>
<link rel="stylesheet" type="text/css"
    href="<c:url value="/static/jquery-easyui-mobile/themes/default/easyui.css"/>">
<link rel="stylesheet" type="text/css"
    href="<c:url value="/static/jquery-easyui-mobile/themes/mobile.css"/>">
<link rel="stylesheet" type="text/css"
    href="<c:url value="/static/jquery-easyui-mobile/themes/icon.css"/>">
<script type="text/javascript"
    src="<c:url value="/static/jquery-easyui-mobile/jquery.min.js"/>"></script>
<script type="text/javascript"
    src="<c:url value="/static/jquery-easyui-mobile/jquery.easyui.min.js"/>"></script>
<script type="text/javascript"
    src="<c:url value="/static/jquery-easyui-mobile/jquery.easyui.mobile.js"/>"></script>
    
    <script>
    function selectMater(){
        window.location.href='<c:url value="/jsp-mobile/cashier/cashierForCust.jsp"/>';
    }
    function selectMaterId(){
        window.location.href='<c:url value="/jsp-mobile/supplier/findMaterId_mobile.jsp"/>';
    }
    function materOrder(){
        window.location.href='<c:url value="/jsp-mobile/ordermanage/customOrderMaterIndex_mobile.jsp"/>';
    }
    function turnover(){
        window.location.href='<c:url value="/jsp-mobile/turnover/turnoverListForCust_mobile.jsp"/>';
    }
    function unusual(){
        window.location.href='<c:url value="/jsp-mobile/ordermanage/customOrderForSup_mobile.jsp"/>';
    }
    </script>
</head>
<body>
    <div class="easyui-navpanel">
        <header>
            <div class="m-toolbar">
                <span class="m-title">菜单界面</span>
            </div>
        </header>
        <div class="easyui-accordion"
            data-options="fit:true,border:false,selected:-1">
            <div>
                <header>
                    <div class="hh-inner">
                        <span>收银功能</span> <span class="m-badge" style="float: right">分货查询，查看订单等</span>
                    </div>
                </header>
                <ul class="m-list">
                    <li onclick="selectMater()">销售</li>
                </ul>
                <ul class="m-list">
                    <li onclick="selectMaterId()">材料id查询</li>
                </ul>
            </div>
            <div>
                <header>
                    <div class="hh-inner">
                        <span>测试</span> <span class="m-badge" style="float: right">查看以往异常，解决异常</span>
                    </div>
                </header>
                <ul class="m-list">
                    <li onclick="unusual()">客户订单</li>
                </ul>
            </div>
            <div>
                <header>
                    <div class="hh-inner">
                        <span>营业额管理</span> <span class="m-badge" style="float: right">录入营业额，查看营业额</span>
                    </div>
                </header>
                <ul class="m-list">
                    <li onclick="turnover()">营业额操作</li>
                </ul>
            </div>
        </div>
    </div>
    <style scoped>
.hh-inner {
    position: relative;
    line-height: 20px;
    background: #fff;
    font-weight: bold;
    margin: -5px;
    padding: 5px;
}
</style>
</body>
</html>